package com.yuyou.fn.activity.vo;

import com.yuyou.fn.common.condition.annotation.Equal;
import com.yuyou.fn.common.condition.annotation.FullLike;
import com.yuyou.fn.common.condition.annotation.GreatOrEqualThan;
import com.yuyou.fn.common.condition.annotation.LessOrEqualThan;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * Created by lzh on 2019/5/27.
 */
public class ActivityCampusInventoryQueryVo {
    @Equal
    private Integer type;

    @Equal
    private Long  campusId;

    @FullLike
    private String materialName;

    private Integer shelvesStatus;

    @GreatOrEqualThan(name = "createTime")
    @NotNull
    private Date startDate;

    @LessOrEqualThan(name = "createTime")
    @NotNull
    private Date endDate;

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getMaterialName() {
        return materialName;
    }

    public void setMaterialName(String materialName) {
        this.materialName = materialName;
    }

    public Integer getShelvesStatus() {
        return shelvesStatus;
    }

    public void setShelvesStatus(Integer shelvesStatus) {
        this.shelvesStatus = shelvesStatus;
    }

    public Long getCampusId() {
        return campusId;
    }

    public void setCampusId(Long campusId) {
        this.campusId = campusId;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }
}
